import request from '@/utils/request'
export function fetchList(params) {
    return request({
        url: '/sys/sysAppVersion/list',
        method: 'get',
        params: params
    })
}
export function createSysAppVersion(data) {
    return request({
        url: '/sys/sysAppVersion/create',
        method: 'post',
        data: data
    })
}

export function deleteSysAppVersion(id) {
    return request({
        url: '/sys/sysAppVersion/delete/' + id,
        method: 'get',
    })
}

export function getSysAppVersion(id) {
    return request({
        url: '/sys/sysAppVersion/' + id,
        method: 'get',
    })
}

export function updateSysAppVersion(id, data) {
    return request({
        url: '/sys/sysAppVersion/update/' + id,
        method: 'post',
        data: data
    })
}

